import 'package:educate/common/route_names.dart';
import 'package:educate/pages/home/home.dart';
import 'package:educate/pages/main/main_page.dart';
import 'package:educate/pages/my/my.dart';
import 'package:get/get_navigation/src/routes/get_route.dart';

import 'binding.dart';

class RoutePages {
  static final List<GetPage> getPages = [
    // app 首页
    GetPage(
      name: RouteNames.mainPage,
      page: () {
        return const MainPage();
      },
      binding: Binding(),
    ),
    GetPage(
      name: RouteNames.my,
      page: () {
        return const My();
      },
    ),
    GetPage(
      name: RouteNames.home,
      page: () {
        return const Home();
      },
    ),
  ];
}
